package com.fancy;

/**
 * @author chaigq
 * @version 1.0
 * @date 2021/5/21 6:37 上午
 */
public class VirtualOnlineTest {

    public static void main(String[] args) throws Exception {
        Thread.sleep(30000);
        while (true){
            loadData();
        }
    }
    public static void loadData() throws Exception{
        byte[] data = null;
        // 模拟每秒50个请求
        for (int i = 0; i < 50; i++) {
            data = new byte[100 * 1024];
        }
        data = null;
        Thread.sleep(1000);
    }
}
